﻿using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using System.Text.RegularExpressions;

namespace Test
{
    

    internal class Program
    {
        
        public static void CopyFile_RenameFile(string old_path, string new_path)
        {
            File.Copy(old_path, new_path);
        }
        static void Main(string[] args)
        {
            //string timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds().ToString();
            string url_regex = @"^(https?|ftp):\/\/(?:www\.)?([a-zA-Z0-9\-]+(\.[a-zA-Z]{2,}){1,})(:\d{1,5})?(\/[^\s?#]*)?(\?[^#\s]*)?(#[^\s]*)?$";
            string file_path_regex = @"^(?:(?:[a-zA-Z]:|\\\\[^\\/:*?""<>|]+\\[^\\/:*?""<>|]+|/)(?:\\|/)?|\.{1,2}(?:\\|/)?)(?:[^\\/:*?""<>|\r\n]+(?:\\|/)?)*$";
            string data = @"C:\Users\LiHao\AAA_Using\Evidence_DataBase\website.txt";

            string old_path = @"C:\Users\LiHao\Downloads\因为一条吃播视频，让杭州的风评大跌.mp4";
            string rename_text = "test_test";
            string new_path = @"C:\Users\LiHao\AAA_Using\Evidence_DataBase\video\" + rename_text + Path.GetExtension(old_path);

            //Console.WriteLine(typeof(GameObj).GetType());

            char index = Convert.ToChar(Console.ReadLine());
            int num = Convert.ToInt32(index);
            num -= 32;
            Console.WriteLine(Convert.ToChar(num));






            //CopyFile_RenameFile(old_path, new_path);
            ProcessStartInfo info = new ProcessStartInfo()
            {
                FileName = "www.baidu.com",
                UseShellExecute = true,
            };
            //Process.Start(info);




            




            //Console.WriteLine("resule>>>" +  timestamp);
            Console.WriteLine("Hello, World!");
        }
    }
}
